# -- coding: utf-8 --
num = 0
sum = 0
while num < 100:
	num += 1
	sum = sum + num
	
	print num
	print sum
	
print sum
print num